﻿using AutoMapper;
using B.S.Packaged.Domain;
using B.S.Packaged.Domain.Tree;
using B.S.Packaged.WebAPI.Read.Dtos;

namespace B.S.Packaged.WebAPI.Read
{
    public class AutoMapperProfile : Profile
    {
        public AutoMapperProfile()
        {
            CreateMap<Equipment_Information, EquipmentDto>().ReverseMap();
            CreateMap<ProductionLine, ProductionLineDto>().ReverseMap();
            CreateMap<WorkSection, WorkSectionDto>().ReverseMap();

            //过程监控
            CreateMap<MonitorModel, MonitorDtos>().ReverseMap();

            CreateMap<Material, MaterialDto>().ReverseMap();
        }
    }
}
